package cn.iocoder.yudao.module.exam.controller.admin.question.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 试题分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class QuestionPageReqVO extends PageParam {

    @Schema(description = "题目文本")
    private String questionText;

    @Schema(description = "题目类型", example = "1")
    private String questionType;

    @Schema(description = "题目难度级别")
    private String difficultyLevel;

    @Schema(description = "题目链接", example = "https://www.iocoder.cn")
    private String questionUrl;

    @Schema(description = "题目分值", example = "12")
    private BigDecimal questionScore;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "试题id")
    private Long bankId;

    @Schema(description = "题库名称")
    private String bankName;

}